package org.tik.mybatis.reflection.wrapper;

import org.tik.mybatis.reflection.MetaObject;

/**
 * @ClassName: DefaultObjectWrapperFactory
 * @author: pengwei
 * @data 2022年10月27日 21:02:00
 */
public class DefaultObjectWrapperFactory implements ObjectWrapperFactory {

    @Override
    public boolean hasWrapperFor(Object object) {
        return false;
    }

    @Override
    public ObjectWrapper getWrapperFor(MetaObject metaObject, Object object) {
        throw new RuntimeException("The DefaultObjectWrapperFactory should never be called to provide an ObjectWrapper.");
    }

}
